package dblayer;

import java.sql.SQLException;
import java.util.ArrayList;

import modellayer.PartOrder;

/**
 * @author Gruppe 3
 */
public interface IFDBPartOrder {
	
	public ArrayList<PartOrder> getAllPartOrders(boolean retriveAssociation); 

	public PartOrder selectSinglePartOrder(int PartOrderID, boolean retriveAssociation) throws SQLException;
	
	public ArrayList<PartOrder> getAllPartOrdersByOrder(int salesOrderID, boolean retriveAssociation);

	public int insertPartOrder(PartOrder p) throws SQLException;

	public int updatePartOrder(PartOrder p) throws SQLException; 

	public int deletePartOrder(PartOrder p) throws SQLException; 
	

}
